Conversation
|
@MikeAlhayek Please approve the workflow check |
|
What's the issue that you are trying to resolve? |
The Version field in the exported database is used to do a sync lock check, e.g. there is now a sync lock in Yessql but not in OC |
I am confused because it was added in YesSQL for OC and we do use it in OC already, example: |
|
Yes, I understand, but I'm talking about a situation where a user is updating content from a page. |
|
This is exactly the scenario that is covered in my example. By default the second user overwrites the changes from the first user. With the flag on SaveAsync then it will be detected and the second user gets an exception. |
|
It's called optimistic concurrency. |
However, although we currently have
|
|
This example is not very appropriate. Can't think of a suitable example for a while 🤣 |
The purpose of this PR is to export the Version attribute on the document to be used for synchronized lock checking in OC.
Issue associated with the OrchardCore repository was not found,